package com.mall.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.entity.City;
import com.mall.mapper.CityMapper;
import com.mall.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("CityService")
public class CityServiceImpl extends ServiceImpl< CityMapper, City > implements CityService {

    @Autowired
    CityMapper cityMapper;

//    @Override
//    public List< City > getAll(Wrapper wrapper) {
//
//        List<City> data = cityMapper.getAll( wrapper );
//
//        return data;
//    }

    @Override
    public City findOne(QueryWrapper< City > query) {
        return null;
    }
}
